package com.hotline.communication.enums;

import lombok.Getter;

/**
 * <p>
 * 是否状态标志枚举类
 * </p>
 *
 * @author yeshengqi
 * @since 2022-12-23 14:53
 */
public enum WhetherEnum {
    YES(1, "是"),
    NO(0, "否");

    @Getter
    private Integer code;
    @Getter
    private String name;

    WhetherEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

}
